package com.ruoyi.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 erp_dingdan
 * 
 * @author ruoyi
 * @date 2024-04-28
 */
public class ErpDingdan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productUnit;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productAttr;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal productSalesPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal productBuyPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal productMinSalesPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal productPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductUnit(String productUnit) 
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit() 
    {
        return productUnit;
    }
    public void setProductAttr(String productAttr) 
    {
        this.productAttr = productAttr;
    }

    public String getProductAttr() 
    {
        return productAttr;
    }
    public void setProductSalesPrice(BigDecimal productSalesPrice) 
    {
        this.productSalesPrice = productSalesPrice;
    }

    public BigDecimal getProductSalesPrice() 
    {
        return productSalesPrice;
    }
    public void setProductBuyPrice(BigDecimal productBuyPrice) 
    {
        this.productBuyPrice = productBuyPrice;
    }

    public BigDecimal getProductBuyPrice() 
    {
        return productBuyPrice;
    }
    public void setProductMinSalesPrice(BigDecimal productMinSalesPrice) 
    {
        this.productMinSalesPrice = productMinSalesPrice;
    }

    public BigDecimal getProductMinSalesPrice() 
    {
        return productMinSalesPrice;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("productUnit", getProductUnit())
            .append("productAttr", getProductAttr())
            .append("productSalesPrice", getProductSalesPrice())
            .append("productBuyPrice", getProductBuyPrice())
            .append("productMinSalesPrice", getProductMinSalesPrice())
            .append("productPrice", getProductPrice())
            .toString();
    }
}
